function insertScriptsInPage(){let e=document.createElement("script"),t=document.createElement("script");e.async=!0,t.async=!0,e.src="https://tm.jsuol.com.br/modules/external/Prebid.js",t.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",document.head.appendChild(e),document.head.appendChild(t)}function insertPermutive(){let e=document.createElement("script");e.async=!0,e.src="https://tm.jsuol.com.br/modules/external/admanager/prmtv.js",document.head.appendChild(e)}function insertDv(){let e=document.createElement("script");e.src="https://pub.doubleverify.com/dvtag/36979799/DV1636432/pub.js",document.head.appendChild(e);let t=document.createElement("script");t.textContent="\n window.onDvtagReady = function (callback, timeout = 750) {\n window.dvtag = window.dvtag || {}\n dvtag.cmd = dvtag.cmd || []\n const opt = { callback, timeout, timestamp: new Date().getTime() }\n dvtag.cmd.push(function () { dvtag.queueAdRequest(opt) })\n setTimeout(function () {\n const cb = opt.callback\n opt.callback = null\n if (cb)\n cb()\n }, timeout)\n }\n window.getDvtagTargeting = window.getDvtagTargeting || function (elementId) {\nwindow.dvtag = window.dvtag || {}\nif (dvtag.getTargeting) return dvtag.getTargeting(elementId)\nreturn {}\n}\n",document.head.appendChild(t)}console.log("019"),insertScriptsInPage(),window.googletag.cmd.push((function(){if(0===window.googletag.pubads().getTargeting("permutive").length){var e=window.localStorage.getItem("_pdfps");window.googletag.pubads().setTargeting("permutive",e?JSON.parse(e):[])}})),insertPermutive(),insertDv();const intervalId=setInterval((()=>{if(idVideo=document.getElementById("banner-480x360-area"),idVideo&&(window.dvtagTargeting=getDvtagTargeting(`${idVideo}`)),window.dvtagTargeting){const e=Object.entries(window.dvtagTargeting).map((([e,t])=>Array.isArray(t)?`${e}=${t.join(",")}`:`${e}=${t}`)).join("&");window.custParamsVideoDv=""!==e?e:""}}),100);function dvParameters(){return new Promise(((e,t)=>{let n=setInterval((()=>{if(void 0!==window.dvtagTargeting&&null!==window.dvtagTargeting){clearInterval(n);const t=Object.entries(window.dvtagTargeting).map((([e,t])=>e+"="+t.join(","))).join("&");window.custParamsVideoDv=""!==t?t:"",e(window.custParamsVideoDv)}}),100)}))}dvParameters().then((e=>e));let permutiveIds=[];try{permutiveIds=JSON.parse(window.localStorage.getItem("_pdfps")||"[]").slice(0,250)}catch(e){console.error("Erro ao ler Permutive IDs:",e)}let permutiveValue=encodeURIComponent(permutiveIds.join(","));if(window.location.href.match(/receitadaboa\.com\.br\/\?teste_push_gpt$/))window.googletag=window.googletag||{cmd:[]},googletag.cmd.push((function(){googletag.defineSlot("/8804/parceiros/ne_10/receita_boa",[[970,90],[970,250]],"banner-970x250-1-desktop").addService(googletag.pubads()),googletag.pubads().enableSingleRequest(),googletag.enableServices()})),googletag.cmd.push((function(){googletag.display("banner-970x250-1-desktop")}));else{window.pushAds=window.pushAds||[];var pageIsMobile=function(){try{var e={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)||navigator.userAgent.match(/WPDesktop/i)},any:function(){return e.Android()||e.BlackBerry()||e.iOS()||e.Opera()||e.Windows()}};return!!e.any()}catch(e){return!1}}();window.adsHasPushed=window.adsHasPushed||[];var actuallySlot,sizeMappingGlobal,generalConfig={adUnit:"",videoAdUnit:"",tagsParaSelo:[],cdnFunctionHasStarted:!1,distanceLazyLoading:200},listSlots=[],slotProperties={sizeMap:[],nameDiv:"",native:"",label:"",refresh:"",sizeMapping:""},listNameDivSlots=[];function addVideoInArticle(){"use strict";var e=function(){return window.location.href.match(/(vf1|localhost|127\.0\.0\.1)/)?"/8804/teste/inread":"/8804/parceiros/ne_10/receita_boa/in-article"},t=function(){return e=navigator.userAgent||navigator.vendor||window.opera,!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(ad|hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)));var e};var n,a="360px",i="250px",o={canVideoFloatingMobile:!1,isFixed:!1,isNoticiasDaTv:!0,elementPercentage:.25,containerAppearedOnce:!1,videoHasFloating:!1,bannerHasShowing:!1,actionVideoplayer:!1,divParceiro:"#uolpd-video-inarticle",baseContainerBannerSelector:"#uolpd-banner-inarticle",baseContainerSelector:"#player-in-article",bannerContainerId:"banner-300x250-outstream-area",baseContainerMinHeight:"270px",baseContainerwidth:"100%",baseContainerMargins:"5px 0px 20px 0",enableCloseButton:!0,enableHeaderContainer:!1,enableInsertBanner:!0,enableRequestBanner:!0,floatingContainerLeft:!1,floatingContainerLeftMobile:!1,headerStyle:"height: 20px; font-size: 10px; line-height: 20px; text-align: center; text-transform: uppercase;letter-spacing:1.53px; width: 100%",adContainerStyle:`height: ${t()?i:a}; width: 100% ; position: relative; padding: 0px;`,bannerStyle:"margin: 0 auto; width: 300px; height: 250px;text-align: center;",closeButtonID:"inarticle-close-video",closeButtonStyle:"width: 34px; height: 34px; background-position: center center; background-repeat: no-repeat; background-size: 24px; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQ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2FsyfizzLM8xwQ9ViU09l9e1awQu6r8A4hH+I8+sga+AAAAAElFTkSuQmCC); cursor: pointer; position: absolute;top:0px; right:0px; z-index: 9999; opacity: 1; display:none",pctVisible:.2,videoQuantity:1,pathDFP:e(),videoPrebid:null,URL_VAST:"https://pubads.g.doubleclick.net/gampad/ads?sz=480x360&iu="+e()+"&ciu_szs=300x250&output=xml_vast4&ppid="+UOLPD.dataLayer.ppid+"&unviewed_position_start=1&correlator="+Math.floor(1e17*Math.random())+"&cust_params=",settings:[{key:"initialAudioVolume",value:"60"}],reqid:null,timeoutId:null},r={adContainer:null,adIsPlaying:!1,adStarted:!1,adsLoader:null,adsManager:null,adsRequest:null,baseContainer:null,closeButtonContainer:null,comScoreStreamingStatus:null,comScoreStreamingTagID:null,mainLoop:null,progressBar:null,toggleAudioButton:null,videoDimentions:{height:null,width:null},videoDuration:null,videoElement:null,videoOrAdContainer:null,videosRemaining:null,_iOSDevice:!!navigator.userAgent.match(/iPhone|iPod|iPad/)};(n=document.createElement("style")).innerHTML="\n #uolpd-video-inarticle {\n margin-bottom: 40px !important;\n }\n #player-in-article video {\n background-color: unset !important;\n }\n #player-in-article lima-video {\n background-color: unset !important;\n }\n #player-in-article .videoAdUiTopBarWithGradients {\n display: none !important;\n }\n #player-in-article .videoAdUiAttributionContainer {\n display: none !important;\n }\n ",document.head.appendChild(n);var d=document.createElement("div"),s=document.querySelector(o.divParceiro);d.id="player-in-article";var l=setInterval((function(){s&&(clearInterval(l),s.appendChild(d))}),100),c="[UOLPD - InArticle Video] ",u={adError:c+"Ad failed to load with the error:",adsManagerFailed:c+"AdsManager couldn't be started:",adsManagerLoaded:c+"AdsManager loaded.",adsRequested:c+"Requesting ads.",insertCloseButton:c+"Inserting close button",failinsertCloseButton:c+"Failed insert of close button",removeCloseButton:c+"Removed close button",removeBanner:c+"Waiting for the time to close the banner",removeBannerClick:c+"Click in Close button the banner",removeBannerTime:c+"Timeout closed banner",deviceIOS:c+"This is device iOS",gettingVideoDuration:c+"Trying to get video duration:",imaSdkInitialize:c+"IMA SDK initializing.",imaSdkLoadFailed:c+"IMA SDK couldn't be loaded. Aborting execution. Requested URL:",insertingBanner:c+"Inserting banner. There's no more to do.",loadingAds:c+"Loading ads.",tagUrlRequested:c+"Requested the following TagUrl:",baseContainerNotFound:c+"Couldn't find the target container:",videoDuration:c+"Video duration:",videoRemaining:c+"Videos remaining:",videoStatus:c+"Video status:",comScorePause:c+"called method stop at comScore streaming tag.",comScoreResumed:c+"called method play at comScore streaming tag.",comScoreFailedPause:c+"failed to dispatch pause comScore streaming tag.",comScoreFailedResumed:c+"failed to dispatch play comScore streaming tag.",comScoreNotFound:c+"No method found comScore",prebidRequested:c+"Requesting video Prebid",prebidFound:c+"Prebid found and configured",prebidNotFound:c+"Prebid NOT found",prebidFailed:c+"Prebid failed",morePercentVisible:c+"Mais de "+o.elementPercentage+" do container está visível na tela",lessPercentVisible:c+"Menos de "+o.elementPercentage+" do container está visível na tela"},g=function(e,t){void 0===t&&(t=""),window.location.href.indexOf("inarticle-debug")>-1&&console.log(e,t)},p=function(e){if(o.enableHeaderContainer){var t=document.createElement("div");t.id="inarticle-ad-header",t.innerText="Continua após a publicidade",t.style.cssText=o.headerStyle,e.appendChild(t)}if(o.enableCloseButton){if(g(u.insertCloseButton,""),r.closeButtonContainer=document.getElementById(o.closeButtonID),null==r.closeButtonContainer){var n=document.createElement("div");n.id=o.closeButtonID,n.style.cssText=o.closeButtonStyle,e.appendChild(n),r.closeButtonContainer=document.getElementById(o.closeButtonID)}r.closeButtonContainer.addEventListener("click",(function(){g(u.removeCloseButton,""),null!=r.closeButtonContainer&&r.closeButtonContainer.remove(),k()})),null==r.closeButtonContainer&&g(u.failinsertCloseButton,"")}var a="inarticle-ad-container",i=document.getElementById(a);return null==i&&((i=document.createElement("div")).id=a,i.style.cssText=o.adContainerStyle,e.appendChild(i)),i},m="url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAA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MAgBx0vmmVj7JpxLaWAAAyrmU2ZPZQmkCy2TQCAPI8d+BgAgkA5B0CZQdSK8kXAICcQaDMHiZevQQAcgaB1PntOEEfACgABK46HwDkE4Keq853AcAEOrHcwjmBAAACABAAgAAABAAgAAABAAgAQAAAAgAQAIAAAAQAIAAAFVL/CzAAqggU5izl/nsAAAAASUVORK5CYII=)",f="url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M35.96%2022.514L13.593%209.364C12.166%208.526%2011%209.185%2011%2010.844v26.387c0%201.653%201.16%202.322%202.592%201.48L35.96%2025.562c.627-.369.963-.841%201.039-1.324v-.402c-.076-.482-.411-.953-1.04-1.322%22%2F%3E%3C%2Fsvg%3E)",v="url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M32%209c-2.205%200-4%201.79-4%204v22a3.997%203.997%200%200%200%204%204c2.205%200%204-1.79%204-4V13c0-2.213-1.791-4-4-4M16%209c-2.205%200-4%201.79-4%204v22a3.997%203.997%200%200%200%204%204c2.205%200%204-1.79%204-4V13c0-2.213-1.791-4-4-4%22%2F%3E%3C%2Fsvg%3E)",y=function(){var e;if(r.adsManager.getVolume()>0)r.adsManager.setVolume(0),r.toggleAudioButton.style.backgroundImage=m;else{var t=Number(null===(e=o.settings.find((function(e){return"initialAudioVolume"==e.key})))||void 0===e?void 0:e.value)/100;r.adsManager.setVolume(t),r.toggleAudioButton.style.backgroundImage=b}},h=function(){document.querySelector("#playIcon").style.display="none",document.querySelector("#pauseIcon").style.display="block",r.adsManager.resume(),!r.adIsPlaying&&g(u.videoStatus,"resumed"),r.adIsPlaying=!0,r.manualPause=!1,"resumed"!=r.comScoreStreamingStatus&&w("resumed",r.adsManager.getRemainingTime())},A=function(){document.querySelector("#pauseIcon").style.display="none",document.querySelector("#playIcon").style.display="block",r.adsManager.pause(),r.adIsPlaying&&g(u.videoStatus,"paused"),r.adIsPlaying=!1,r.manualPause=!0,r.adStarted=!1,"paused"!=r.comScoreStreamingStatus&&w("paused",r.adsManager.getRemainingTime())},w=function(e="",t){if(r.comScoreStreamingStatus==e)return!1;r.comScoreStreamingStatus=e;try{null==r.comScoreStreamingTagID&&(r.comScoreStreamingTagID=Date.now());var n=new Image;switch(e){case"paused":n.setAttribute("src","https://sb.scorecardresearch.com/p?c1=2&c2=27893134& ns_ap_sv=2.1511.10&ns_type=hidden&ns_st_it=a&ns_st_sv=4.0.0&ns_st_ad=1&ns_st_sq=1&ns_st_id="+r.comScoreStreamingTagID+"&ns_st_ec=2&ns_st_cn=1&ns_st_ev=end&ns_st_ct=va11&ns_st_cl="+t+"&ns_st_pt="+t+"&c3=UOLADNET&c4=*null&c6=*null&ns_ts="+Date.now()),g(u.comScorePause,e);break;case"resumed":n.setAttribute("src","https://sb.scorecardresearch.com/p?c1=2&c2=27893134& ns_ap_sv=2.1511.10&ns_type=hidden&ns_st_it=a&ns_st_sv=4.0.0&ns_st_ad=1&ns_st_sq=1&ns_st_id="+r.comScoreStreamingTagID+"&ns_st_ec=1&ns_st_cn=1&ns_st_ev=play&ns_st_ct=va11&ns_st_cl="+t+"&ns_st_pt=0&c3=UOLADNET&c4=*null&c6=*null&ns_ts="+Date.now()),g(u.comScoreResumed,e);break;default:g(u.comScoreNotFound,e)}}catch(t){switch(e){case"paused":g(u.comScoreFailedPause,t);break;case"resumed":g(u.comScoreFailedResumed,t);break;default:g(u.comScoreNotFound,t)}r.comScoreStreamingTagID=null}},I=function(){window.videoInArticleIsFloating=!0;const e=document.querySelector(o.divParceiro),n=document.querySelector(o.baseContainerSelector),r=document.querySelector("#inarticle-close-video"),d=document.querySelector("#inarticle-ad-container"),s=document.querySelector("#banner-300x250-outstream-area"),l=document.querySelector("#inarticle-ad-header");var c=document.querySelector("#inarticle-ad-container div");c.style.width="100%",c.style.height="100%",e.style.width="100%";e.offsetWidth;var u=t()?i:a;e.style.height=u,d.style.height=u,n.setAttribute("style","position: relative !important; padding: 0px; margin: 0px auto !important; height:"+u+"!important;"),r.style.display="none",o.videoHasFloating=!1;var g=document.querySelector("style#inarticleStyle");if(g&&g.remove(),("relative"==n.style.position||"unset"==n.style.position)&&!s){if(t()){var p="position: fixed !important; max-width: 250px; border-radius: 20px; padding: 0px; background-image: unset; overflow: hidden; z-index: 2147483647; height: 148px !important; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px; "+(o.floatingContainerLeftMobile?"left:20px; ":"right:20px; ");n.setAttribute("style",p),d.style.height="148px",d.style.padding="0px",d.style.backgroundImage="unset",r.style.display=""}else{p="position: fixed !important;max-width: 350px; padding: 0px; background-image: unset; border-radius: 20px; overflow: hidden; z-index: 2147483647; height: 196px !important; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px; "+(o.floatingContainerLeft?"left:20px; ":"right:20px; ");n.setAttribute("style",p),d.style.height="196px",d.style.padding="0px",d.style.backgroundImage="unset",r.style.display=""}if(l&&(l.style.display="none"),o.videoHasFloating=!0,!document.querySelector("style#inarticleStyle")){var m=document.createElement("style");m.id="inarticleStyle",m.innerHTML="",document.head.appendChild(m)}}},S=function(){window.videoInArticleIsFloating=!1;const e=document.querySelector(o.divParceiro),n=document.querySelector(o.baseContainerSelector),r=document.querySelector("#inarticle-close-video"),d=document.querySelector("#inarticle-ad-container"),s=(document.querySelector("#banner-300x250-outstream-area"),document.querySelector("#inarticle-ad-header"));if(e&&(e.style.width="100%"),e)0!=e.offsetWidth&&e.offsetWidth;var l=t()?i:a;e&&e.setAttribute("style","width: 100%; margin-bottom: 40px; height:"+l),d&&(d.style.height=l),n&&n.setAttribute("style","padding: 0px; margin: 0px auto !important; height:"+l+"!important;"),o.enableHeaderContainer&&s&&(s.style.display="block"),r&&(r.style.display="none"),o.videoHasFloating=!1;var c=document.querySelector("style#inarticleStyle");c&&c.remove()},x=setInterval((function(){const e=document.querySelector(o.divParceiro),n=document.querySelector(o.baseContainerSelector),r=document.querySelector("#inarticle-close-video"),d=document.querySelector("#inarticle-ad-container"),s=document.querySelector("#banner-300x250-outstream-area");e&&d&&!s&&(o.isFixed||(clearInterval(x),o.isFixed=!0,n.setAttribute("style","margin:auto !important; height: 280px !important;"),d.style.height=t()?i:a,r.style.display="none",function(){const e=document.querySelector(o.divParceiro);e.style.width="100%",new IntersectionObserver((function(n){e.offsetWidth;var r=t()?i:a;e.setAttribute("style","height:"+r),!0===n[0].isIntersecting?(o.containerAppearedOnce=!0,g(u.morePercentVisible),S()):!o.bannerHasShowing&&o.containerAppearedOnce&&t()&&o.canVideoFloatingMobile?(g(u.lessPercentVisible),I()):o.bannerHasShowing||!o.containerAppearedOnce||t()||(g(u.lessPercentVisible),I())}),{threshold:[o.elementPercentage]}).observe(e)}()))}),100),D=function(e,n){if(S(),g(u.insertingBanner),null==e){var a=document.querySelector(n.baseContainerBannerSelector);a?(r.baseContainer=a,n.baseContainerBannerSelector):(r.baseContainer=document.querySelector(n.baseContainerSelector),n.baseContainerSelector),null!=r.baseContainer?(r.baseContainer.style.position="relative",r.baseContainer.style.minHeight=n.baseContainerMinHeight,r.baseContainer.style.margin=n.baseContainerMargins,r.videosRemaining=n.videoQuantity,null==r.videoOrAdContainer&&(r.videoOrAdContainer=p(r.baseContainer)),e=r.videoOrAdContainer):console.error(u.baseContainerNotFound,n.baseContainerSelector)}r.baseContainer.querySelector("#inarticle-ad-header");var i=document.querySelector("#inarticle-ad-container");i&&(i.style.display="flex"),i&&(i.style.alignItems="center"),t()&&(i.style.height="270px");var o=document.createElement("div");o.id=n.bannerContainerId,o.style.cssText=n.bannerStyle,i.appendChild(o),initLazyLoading(o.id)},L=function(){g(u.videoStatus,"started"),r.videosRemaining--;var e=0;do{if(r.videoDuration=r.adsManager.getRemainingTime(),r.videoDuration<=0&&(r.videoDuration=r.adsManager.getCurrentAd().getDuration()),g(u.gettingVideoDuration,String(r.videoDuration)),50===++e){T();break}}while(r.videoDuration<=0);g(u.videoDuration,String(r.videoDuration)),function(e){var t=document.createElement("div");t.style.backgroundImage=m,t.style.backgroundSize="contain",t.style.bottom="5px",t.style.cursor="pointer",t.style.height="24px",t.style.position="absolute",t.style.right="5px",t.style.width="24px",t.onclick=y,r.toggleAudioButton=t,e.appendChild(t);var n=document.createElement("div");n.style.backgroundColor="#ebe9e8",n.style.bottom="0",n.style.height="3px",n.style.left="0",n.style.position="absolute",n.style.width="100%",e.appendChild(n);var a=document.createElement("div");a.style.backgroundColor="#e94200",a.style.bottom="0",a.style.height="3px",a.style.left="0",a.style.position="absolute",a.style.width="0%",r.progressBar=a,n.appendChild(a);var i=document.createElement("div"),o=document.createElement("div");i.id="playIcon",i.style.backgroundImage=f,i.style.backgroundColor="rgba(0,0,0,.4)",i.style.backgroundSize="contain",i.style.backgroundPositionX="1px",i.style.bottom="5px",i.style.cursor="pointer",i.style.height="24px",i.style.position="absolute",i.style.left="5px",i.style.width="24px",i.style.borderRadius="50%",i.onclick=h,i.style.display="none",e.appendChild(i),o.id="pauseIcon",o.style.backgroundImage=v,o.style.backgroundColor="rgba(0,0,0,.4)",o.style.backgroundSize="contain",o.style.bottom="5px",o.style.cursor="pointer",o.style.height="24px",o.style.position="absolute",o.style.left="5px",o.style.width="24px",o.style.borderRadius="50%",o.onclick=A,e.appendChild(o)}(r.videoOrAdContainer),r.adStarted=!0,r.adsManager.pause(),r.mainLoop=setInterval((function(){var e=r.videoOrAdContainer.clientHeight,t=r.videoOrAdContainer.clientWidth;e===r.videoDimentions.height&&t===r.videoDimentions.width||(r.videoDimentions.height=e,r.videoDimentions.width=t);var n=r.videoOrAdContainer.getBoundingClientRect(),a=n.height*o.pctVisible,i=window.innerHeight-n.top,d=n.bottom,s=r.adsManager.getRemainingTime();window.document.hasFocus()&&i>=a&&d>=a&&!r.manualPause?(r.adsManager.resume(),!r.adIsPlaying&&g(u.videoStatus,"resumed"),r.adIsPlaying=!0,"resumed"!=r.comScoreStreamingStatus&&w("resumed",s)):r.adIsPlaying&&(r.adsManager.pause(),r.adIsPlaying&&g(u.videoStatus,"paused"),r.adIsPlaying=!1,"paused"!=r.comScoreStreamingStatus&&w("paused",s)),r.progressBar.style.width=String(100*(1-s/r.videoDuration))+"%"}),100)},C=function(e){return function(){g(u.videoStatus,e),g(u.videoRemaining,String(r.videosRemaining)),clearInterval(r.mainLoop),r._iOSDevice&&(r.videosRemaining=0),null!=r.videoOrAdContainer&&setTimeout((()=>{r.videoOrAdContainer.innerHTML="","skipped"!==e&&r.videosRemaining>0?E(r,o):D(r.videoOrAdContainer,o)}),1e3)}},k=C("skipped"),P=C("complete"),T=C("failed"),U=function(e){g(u.adsManagerLoaded);var t=setInterval((()=>{window.document.hasFocus()&&o.containerAppearedOnce&&(r.adsManager=e.getAdsManager(r.videoElement),r.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,L,!1),r.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,k,!1),r.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,P,!1),r._iOSDevice?(r.videoOrAdContainer.innerHTML="",D(r.videoOrAdContainer,o)):function(){g(u.loadingAds),r.videoElement.load(),r.adContainer.initialize();var e=r.videoElement.clientHeight,t=r.videoElement.clientWidth;try{r.adsManager.init(t,e,google.ima.ViewMode.NORMAL),r.adsManager.start(),r.baseContainer.style.display="block"}catch(e){console.error(u.adsManagerFailed,e)}}(),clearInterval(t))}),250)},O=function(e){e?(r.videoOrAdContainer.innerHTML="",D(r.videoOrAdContainer,o)):null!=r.adsManager&&r.adsManager.destroy()},B=function(e){var n,a,i,d=e;if(e.indexOf("&cust_params=")>-1){var s=e.split("&cust_params="),l=""!=s[1]?"&":"";d=s[0]+"&impl=s&gdfp_req=1&ppid="+UOLPD.dataLayer.ppid+"&ad_rule=0&env=vp&description_url="+encodeURIComponent(window.location.href)+"&cust_params=permutive="+permutiveValue+`&${window.custParamsVideoDv}`+encodeURIComponent("campaignuol=1&")+encodeURIComponent(decodeURIComponent(s[1])+l)}return d+encodeURIComponent("videoplayertype=dynad_in-article&videoinarticlepos="+String(o.videoQuantity-r.videosRemaining+1)+"&videoplayersize="+function(){var e="";if(t()){var n=window.screen.availWidth*window.screen.availHeight;e=r.videoDimentions.width*r.videoDimentions.height>=.2*n?"large":"small"}else e=r.videoDimentions.height<300||r.videoDimentions.width<400?"small":"large";return e}()+"&keyword=video-auto-play,jupiter&tags="+((null===(i=null===(a=null===(n=window.universal_variable)||void 0===n?void 0:n.page)||void 0===a?void 0:a.tags)||void 0===i?void 0:i.length)>0?window.universal_variable.page.tags.toString():"")+function(){var e,t="";if(null===(e=window.UOLPD)||void 0===e?void 0:e.dataLayer){var n=window.UOLPD.dataLayer;t=Object.keys(n).sort().reduce((function(e,t){return e+"&"+t+"="+n[t]}),"")}return t}())+"&vad_type=linear&vpos=preroll&vpmute=1&vpa=auto&pod=1&min_ad_duration=0&max_ad_duration=999999000&ppos=1&lip=true&video_url_to_fetch="+encodeURIComponent(window.location.href)},E=function(e,n){var a,i,o;try{g(u.imaSdkInitialize),null==e.videoOrAdContainer&&(e.videoOrAdContainer=p(e.baseContainer)),e.videoElement=(i=e.videoOrAdContainer,(o=document.createElement("video")).volume=0,o.style.height="100%",o.style.width="100%",o.style.pointerEvents="none",i.appendChild(o),o),e.adContainer=new google.ima.AdDisplayContainer(e.videoOrAdContainer,e.videoElement),e.adsLoader=new google.ima.AdsLoader(e.adContainer),e.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,U,!1),e.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,O,!1),document.querySelector("#uolpd-video-inarticle")&&(a=document.querySelector("#uolpd-video-inarticle"),t()?(document.querySelector("#uolpd-video-inarticle").setAttribute("style","height: 280px !important;"),document.querySelector("#uolpd-video-inarticle").style.width="100%"):(document.querySelector("#uolpd-video-inarticle").setAttribute("style","height: 360px !important;"),document.querySelector("#uolpd-video-inarticle").style.width="100%")),a&&(e.videoDimentions.height=a.clientHeight,e.videoDimentions.width=a.clientWidth),e.adsRequest=new google.ima.AdsRequest,e.adsRequest.adTagUrl=B(n.videoPrebid||n.URL_VAST),g(u.tagUrlRequested,e.adsRequest.adTagUrl),e.adsRequest.linearAdSlotHeight=e.videoDimentions.height,e.adsRequest.linearAdSlotWidth=e.videoDimentions.width,e.adsRequest.nonLinearAdSlotHeight=e.videoDimentions.height/3,e.adsRequest.nonLinearAdSlotWidth=e.videoDimentions.width,e.adsLoader.requestAds(e.adsRequest),g(u.adsRequested)}catch(e){D(null,n)}},M=function(e,n){try{var o=setTimeout((function(){e.baseContainer=document.querySelector(n.baseContainerSelector),e.baseContainer&&(e.baseContainer.style.display="none",e.baseContainer.style.position="relative",e.baseContainer.style.height=t()?a:i,e.baseContainer.style.width=n.baseContainerwidth,e.baseContainer.style.margin=n.baseContainerMargins,e.videosRemaining=n.videoQuantity,E(e,n),clearInterval(o))}),100)}catch(e){D(null,n)}},N=function(e,t,n){g(u.prebidRequested,"");try{var a=window.UOLPD.TagManager.Prebid.videoBids;if(a&&"object"==typeof a&&a.constructor===Array){if(a.length){var i=(o=a[0],pbjs.adServers.dfp.buildVideoUrl({adUnit:o,params:{iu:window.DYNAD_TV.config.pathDFP?window.DYNAD_TV.config.pathDFP:"/8804/teste/inread",cust_params:{videoplayertype:"dynad_in-article",keyword:"video-auto-play,jupiter"},output:"xml_vast4",ad_rule:"0"}}));i&&(n.videoPrebid=i,g(u.prebidFound,i))}}else g(u.prebidNotFound,"");e(t,n)}catch(a){g(u.prebidFailed,a),e(t,n)}var o},R=function(e,n){window.videoInArticleIsFloating=!1;var a,i,o,r=document.querySelector(n.baseContainerBannerSelector),d="//imasdk.googleapis.com/js/sdkloader/ima3.js";return e._iOSDevice?(g(u.deviceIOS,""),D(null,n),!1):r?(D(null,n),!1):(a=document.querySelector(".up-floating"),i=document.querySelector("#player-in-article"),a&&i&&setInterval((()=>{window.videoInArticleIsFloating&&(1!=window.showAnchorAds||t()?1==window.showAnchorAds&&t()?i.style.bottom="140px":0!=window.showAnchorAds||t()?0==window.showAnchorAds&&t()&&(i.style.bottom="20px"):i.style.bottom="20px":i.style.bottom="133px")}),500),void(o=d,new Promise((function(e,t){var n=document.createElement("script");n.onload=e,n.onerror=t,n.src=o,document.head.append(n)}))).then((function(){N(M,e,n)}),(function(){console.error(u.imaSdkLoadFailed,d)})))},j=setInterval((()=>{if(document.querySelector(o.divParceiro)||document.querySelector(o.baseContainerBannerSelector))return clearInterval(j),R(r,o)}),100);window.DYNAD_TV={config:o,model:r};if(o.isNoticiasDaTv){var F=document.querySelector(o.divParceiro),z=document.querySelector("#banner-300x250-6-area");F&&z&&(F.style.minHeight="250px",z.style.width="-webkit-fill-available",z.style.height="auto",z.style.minWidth="none !important",z.style.minHeight="none !important",F.style.width="100%")}window.addEventListener("resize",(()=>{o.videoHasFloating&&o.containerAppearedOnce?I():o.containerAppearedOnce&&S()}))}function hasModuleDataLayer(e){var t={};try{t=JSON.parse(window.localStorage.getItem("uolDataLayer"))}catch(e){}if("object"!=typeof t&&"string"!=typeof e){var n=t[e];if("object"!=typeof n)return n}}function setDataLayer(){var e,t=window.localStorage.getItem("uolDataLayer");try{e=JSON.parse(t)}catch(t){e={}}for(var n in"object"!=typeof e&&(e={}),window.localStorage.setItem("uolDataLayer",JSON.stringify(e)),e)window.UOLPD.dataLayer[n]=e[n];try{if(e.TailtargetTrack)for(var n in e.TailtargetTrack);}catch(e){}try{window.localStorage.setItem(n,JSON.stringify(e))}catch(e){}addBT()}function hasDataLayer(){return"object"==typeof window.UOLPD&&"object"==typeof window.UOLPD.dataLayer}function isFilledObject(e){if(!e||e!==Object)return!1;for(var t in e)return!0;return!1}var amazonSlots,checkCdnRequest=function(){if(!window.UOLPD.dataLayer.cdn&&!generalConfig.cdnFunctionHasStarted){var e,t=new XMLHttpRequest;if(t.open("HEAD",document.location,!0),-1===t.getAllResponseHeaders().toLowerCase().indexOf("x-amz")){if(window.UOLPD&&window.UOLPD.dataLayer)(e=window.googletag||{}).cmd=e.cmd||[],e.cmd.push((function(){e.pubads().setTargeting("cdn","other")})),window.UOLPD.dataLayer.cdn="other"}else if(window.UOLPD&&window.UOLPD.dataLayer)(e=window.googletag||{}).cmd=e.cmd||[],e.cmd.push((function(){e.pubads().setTargeting("cdn","aws")})),window.UOLPD.dataLayer.cdn="aws";generalConfig.cdnFunctionHasStarted=!0}};function createDataLayer(){window.UOLPD=window.UOLPD||{},"object"!=typeof namespace&&(window.UOLPD=window.UOLPD||{}),"object"!=typeof window.UOLPD.dataLayer&&(window.UOLPD.dataLayer=window.UOLPD.dataLayer||{}),window.UOLPD.Prebid=window.UOLPD.Prebid||{},window.UOLPD.Prebid.hasBeenConfigured=!1,checkCdnRequest(),addOrigin(),addFocusStatus(),addBT(),addUOLDNA(),persist()}function amazonAPS(){!function(e,t,n,a,i,o,r){function d(n,a){t[e]._Q.push([n,a])}t[e]||(t[e]={init:function(){d("i",arguments)},fetchBids:function(){d("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]},(o=n.createElement(a)).async=!0,o.src="//c.amazon-adsystem.com/aax2/apstag.js",(r=n.getElementsByTagName(a)[0]).parentNode.insertBefore(o,r))}("apstag",window,document,"script"),null!=typeof apstag&&null!=typeof apstag&&"object"==typeof apstag&&(apstag.init({pubID:"0e1ab0a1-d93f-4bdc-b304-e76a53464e72",adServer:"googletag"}),apstag.fetchBids({slots:amazonSlots,timeout:2e3},(function(e){googletag.cmd.push((function(){apstag.setDisplayBids()}))})))}createDataLayer(),setDataLayer(),amazonSlots=pageIsMobile?[{slotID:"banner-anchor-area",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[320,100],[300,100],[320,50],[300,50]]},{slotID:"banner-300x250-1-mobile",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]},{slotID:"banner-300x250-2-mobile",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]},{slotID:"banner-320x50-1-mobile",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[320,50]]},{slotID:"banner-300x250-outstream-area",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]}]:[{slotID:"banner-anchor-area",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[728,90],[970,90]]},{slotID:"banner-970x250-1-desktop",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[728,90],[970,90],[970,250]]},{slotID:"banner-970x250-2-desktop",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[728,90],[970,90],[970,250]]},{slotID:"banner-300x250-1-desktop",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]},{slotID:"banner-300x250-2-desktop",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]},{slotID:"banner-300x250-outstream-area",slotName:"8804/parceiros/ne_10/receita_boa",sizes:[[300,250],[250,250]]}],amazonAPS();var adUnitsPrebid={standard:[],video:[]},videoListeners={},biddersList={aol:["network","placement"],appnexus:["placementId"],appnexusAst:["placementId"],audienceNetwork:["placementId"],criteo:["zoneId"],ebdr:["zoneid"],eplanning:["ci"],f_xandr:["placementId"],ix:["siteId"],onemobile:["dcn","pos"],oneVideo:["pubId"],rtbhouse:["region","publisherId"],rubicon:["accountId","siteId","zoneId"],seedtag:["adUnitId","publisherId","placement"],smartadserver:["domain","siteId","pageId","formatId"],smilewanted:["zoneId"],uol:["placementId"],uolbidder:["placementId"]},configPrebid=[];function isValidBidder(e){if(e){var t=biddersList[e.bidder];if(!t)return console.error('A rede "'+e.bidder+'" configurada ainda não é suportada pelo Prebid via Tag Manager'),!1;if(!e.params)return console.error("Não foram configurados os parâmetros do bidder "+e.bidder+" pelo Prebid via Tag Manager"),!1;for(var n=0;n{"boolean"==typeof e[n]&&null!==e[n]&&(e[n]=e[n].toString()),t.includes(n)&&(e[n]=[e[n]])}));let n=UOLPD.dataLayer.ppid||"";window.pbjs.que.push((function(){if(!window.UOLPD.Prebid.hasBeenConfigured){var t={cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"},priceGranularity:"dense",enableSendAllBids:!0,enableTIDs:!0,useBidCache:!0,yahoossp:{mode:"all"},rubicon:{singleRequest:!0},appnexusAuctionKeywords:e,userSync:{userIds:[{name:"criteo"},{name:"pubProvidedId",params:{eidsFunction:n}}],syncDelay:3e3,iframeEnabled:!0,filterSettings:{iframe:{bidders:"*",filter:"include"}}}},a=window.location.href;a.indexOf("pbjs_debug=true")>-1&&applyDebugConfig(a,t),window.pbjs.setConfig(t),window.UOLPD.Prebid.hasBeenConfigured=!0}!window.UOLPD.Prebid.standardEnabled&&adUnitsPrebid.standard.length&&(window.pbjs.addAdUnits(adUnitsPrebid.standard),window.UOLPD.Prebid.standardEnabled=!0),!window.UOLPD.Prebid.videoEnabled&&adUnitsPrebid.video.length&&(window.pbjs.addAdUnits(adUnitsPrebid.video),window.UOLPD.Prebid.videoEnabled=!0)}))}function initNativeMsgProtocol(){window.addEventListener("message",(function(e){var t=e.data;if("prebidNative"==t.message&&t.slotId){var n=window.UOLPD.Prebid.nativeData;if(n&&n[t.slotId]){var a=document.querySelector("#"+t.slotId+" iframe");a&&a.contentWindow&&a.contentWindow.postMessage({message:"uoltmPrebidMessage",nativeContent:n[t.slotId],slotId:t.slotId},"*")}}}),!1)}function groupAdUnits(e){var t={standard:[],video:[]};if(Array.isArray(e))for(var n=0;n-1)for(var i=0;i";window.uolPolicyBanner=window.uolPolicyBanner||[],window.uolPolicyBanner.push((function(t){(action=t.action,"show"==action&&"false"==e)&&(document.querySelector(".banner-lgpd-consent-container").style.bottom="135px")})),function(){n.style.position="fixed",n.style.display="none",document.querySelector("#ticker")&&1==window.activeBreakingNews?n.style.bottom=document.querySelector("#ticker").offsetHeight+1+"px":n.style.bottom="0px",n.style.left=0,n.style.right=0,n.style.width="100%",n.style.height="130px",n.style.overflow="initial",n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.zIndex="39999999",n.style.transition="bottom 1s",n.classList.add("up-floating"),document.body.appendChild(n),a.style.position="relative",a.style.width="100%",a.style.height="100%",a.style.background="#fff",a.style.boxShadow="0 0 10px 0 rgb(0 0 0 / 20%)",a.style.padding="5px 0px",a.style.overflow="initial",a.style.zIndex="9999",n.appendChild(a),i.setAttribute("id","banner-anchor-area"),i.style.display="block",i.style.maxHeight="100%",i.style.maxWidth="100%",i.style.order="2",i.style.position="absolute",i.style.top="28px",i.style.left="50%",i.style.transform="translateX(-50%)";var e=document.createElement("p");if(e.textContent="publicidade",e.style.fontFamily="UOLtext",e.style.fontSize="10px",e.style.letterSpacing="1.5px",e.style.textAlign=t,e.style.color="#000",e.style.fontWeight="400",e.style.textTransform="uppercase",e.style.height="18px",e.style.lineHeight="18px",e.style.width="100%",e.style.margin="0px",e.style.position="absolute",e.style.top="7px",window.location.href.match(/teste.html/)){var o=document.createElement("div");o.style.width="728px",o.style.height="90px",o.style.backgroundColor="red",i.appendChild(o)}a.appendChild(e),a.appendChild(i)}(),function(){function e(){if(n.classList.contains("up-floating"))o.innerHTML="",n.classList.remove("up-floating"),n.classList.add("down-floating"),document.querySelector("#ticker")&&1==window.activeBreakingNews?n.style.bottom="15px":n.style.bottom="-130px",window.showAnchorAds=!1;else if(n.classList.contains("down-floating")){if(o.innerHTML=r,n.classList.remove("down-floating"),n.classList.add("up-floating"),document.querySelector("#ticker")&&1==window.activeBreakingNews){var e=0===document.querySelector("#ticker").offsetHeight?135:document.querySelector("#ticker").offsetHeight;n.style.bottom=e+"px"}else n.style.bottom="0px";window.showAnchorAds=!0}}o.style.cursor="pointer",o.setAttribute("id","svg-arrow-floating"),o.style.width="auto",o.style.fontWeight="bold",o.style.height="26px",o.style.background="#fff",o.style.padding="0px 10px",o.style.borderRadius="4px 4px 0 0",o.style.position="absolute",o.style.left="0px",o.style.top="-21px",o.style.display="flex",o.style.alignItems="center",o.style.justifyContent="center",o.style.boxShadow="0px -2px 4px 0px rgb(0 0 0 / 27%)",o.innerHTML=r,a.appendChild(o),document.querySelector("#svg-arrow-floating").addEventListener("click",e),window.changeAnchorAds=e}(),window.pushAds&&window.pushAds.push("banner-anchor-area"),n.style.display="block",window.showAnchorAds=!0;var d=0;setInterval((function(){!1===window.activeBreakingNews&&0==d&&(n.classList.contains("up-floating")?n.style.bottom="0px":n.style.bottom="-130px",d=1)}),500)}()}function persist(){var e={};if(hasAttributes(e)){var t,n=window.localStorage.getItem("TailtargetTrack");try{t=JSON.parse(n)}catch(e){t={}}"object"!=typeof t&&(t={}),t.TailtargetTrack=e,Object.keys(t.TailtargetTrack).length<=1&&(t.TailtargetTrack={tt_age:"na",tt_gender:"na",tt_team:"na",tt_socialclass:"na",tt_cluster:"na",tt_subjects:"na",tt_microsegments:"na",tt_customaudience:"na"}),window.localStorage.setItem("TailtargetTrack",JSON.stringify(t));try{window.localStorage.setItem(key,JSON.stringify(t))}catch(e){}}}function addBT(){var e=[];"string"==typeof window.UOLPD.dataLayer.bt&&(e=window.UOLPD.dataLayer.bt.split(","));var t=getBTCookies();Array.isArray(t)&&(e=mergeArrays(e,t)),e.length>0&&(window.UOLPD.dataLayer.bt=e.toString())}function hasAttributes(e){if("object"!=typeof e)return!1;for(var t in e)return!0;return!1}function appendIframe(){document.body?document.body.appendChild(iframe):setTimeout(appendIframe,100)}function setIframe(){iframe.style.display="none",iframe.setAttribute("src","https:"+iframeSrc)}function stopFlow(){var e;try{e=window.localStorage.getItem("tt_uid")}catch(e){}return!!e||!!isIframeInPage()}function initUOLDNA(){stopFlow()||(setIframe(),appendIframe())}function isIframeInPage(){return!!document.querySelector('[src*="'+iframeSrc+'"]')}function getIframe(){return iframeElement}function getJson(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="json",n.onload=function(){t(n.status,n.response)},n.send()}function updateFocus(){if(window.UOLPD&&window.UOLPD.dataLayer&&window.UOLPD.dataLayer.hasFocus)try{window.UOLPD.dataLayer.hasFocus=window.parent.top.document.hasFocus().toString()}catch(e){console.error(e.name+": "+e.message)}}function updateFocusTargeting(){window.UOLPD.dataLayer.hasMouseIn=window.UOLPD.dataLayer.hasMouseIn||"false",window.UOLPD.dataLayer.hasFocus=window.UOLPD.dataLayer.hasFocus||"false",googletag.cmd.push((function(){googletag.pubads().setTargeting("hasMouseIn",window.UOLPD.dataLayer.hasMouseIn),googletag.pubads().setTargeting("hasFocus",window.UOLPD.dataLayer.hasFocus)}))}function hasFocus(){return"true"===window.UOLPD.dataLayer.hasFocus}function getClientsArray(e){if("string"!=typeof e)return[];if(0===e.length)return[];for(var t=e.split(";").sort(),n=0;n\[\],&\\\/\.\:\-\_\?])+/gm,(function(e,t,n){var a=/https?:\/\//g.test(e),i=t===n.length-1;return a||i?"":" "})).replace(/\s{2,}/g," ")}function getOrigin(){return window.location.href}function addOrigin(){var e=window.UOLPD.dataLayer.origin||cleanSpecialChars(getOrigin());" "===e.slice(-1)&&(e=e.slice(0,-1)),window.UOLPD.dataLayer.origin=e}function addUOLDNA(){try{var e=document.cookie.includes("DNA=")?document.cookie.replace(/.*DNA=([^;|]+).*/,"$1"):null;window.UOLPD.dataLayer.UOLDNA=e}catch(e){}}function addFocusStatus(){updateFocus(),setInterval((function(){updateFocus()}),750)}function forDatalayerinTarget(){let e=window.location.href.match(/(cenas mais chocantes|eroticas|playboy|acidente|tesao|agressao|orgasmo|vibradores|penetracao|penis|ywefapoge|topless|UCwkva9wLNIbDuB17|axuluralolovoty|ring-girls|bumbum|sexuais|episiotomi|ujabezudunekufu|120220toboga|sexo|shit|namuxelohisu|transar|ebodirumuhejivodi|etijubiqyfemup|ysutohalo|nudez|pussy|pGtWa3iyvjs|briga|gay|trans|vuzusokehixolukugyt|hentaiinside|femen|violencia|SXI|liviaandradenuanasexy|peitos|ninfetassafadas|nua|bundao|superjogosdesexo|porno|boquetesex|novinhasflagras|gostosas|dead|cabeca|topless|baixar|sexy|erotico|perverso|peitao|mp3|sensual|erotico|vibrador|masturbador|sacanagem|mostraram demais)/)?",notadx":"";for(var t in localStorage.getItem("uolDataLayer")&&null!=localStorage.getItem("uolDataLayer")&&JSON.parse(localStorage.getItem("uolDataLayer"))&&null!=JSON.parse(localStorage.getItem("uolDataLayer"))&&JSON.parse(localStorage.getItem("uolDataLayer")).ppid&&null!=JSON.parse(localStorage.getItem("uolDataLayer")).ppid&&JSON.parse(localStorage.getItem("uolDataLayer")).UOLID&&null!=JSON.parse(localStorage.getItem("uolDataLayer")).UOLID&&(UOLPD.dataLayer.UOLID=JSON.parse(localStorage.getItem("uolDataLayer")).UOLID),UOLPD.dataLayer){var n=UOLPD.dataLayer[t];n&&googletag.cmd.push((function(){googletag.pubads().setTargeting(t,n.toString())}))}googletag.cmd.push((function(){window.googletag.pubads().setTargeting("campaignuol",["1"])})),e&&window.googletag.pubads().setTargeting("keyword","notadx")}function setPubadsTargetings(){forDatalayerinTarget();forDatalayerinTarget()}pbjs.que=pbjs.que||[],pbjs.que.push((function(){pbjs.addAdUnits(configPrebid),pbjs.requestBids({bidsBackHandler:initAdserver,timeout:PREBID_TIMEOUT})})),setTimeout((function(){initAdserver()}),FAILSAFE_TIMEOUT),updateFocusTargeting();var slots=[{id:"banner-anchor-area",defineMapping:[[970,90],[728,90],[320,100],[300,100],[320,50],[300,50]],pos:"anchor",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa/anchor",isInfinite:!1,sizeMaping:function(){return googletag.sizeMapping().addSize([970,0],[[970,90],[728,90]]).addSize([768,0],[[728,90]]).addSize([393,0],[[320,100],[300,100],[320,50],[300,50],[393,100]]).addSize([0,0],[[320,100],[300,100],[320,50],[300,50]]).build()}},{id:"banner-480x360-area",defineMapping:[[480,360],[300,250]],pos:"middle",native:"0",refresh:"false",adUnit:"/8804/parceiros/ne_10/receita_boa/in-article",isInfinite:!1},{id:"banner-300x250-outstream-area",defineMapping:[[300,250],[250,250]],pos:"outstream",native:"0",refresh:"false",adUnit:"/8804/parceiros/ne_10/tv_jornal/in-article/outstream",isInfinite:!1},{id:"banner-970x250-1-desktop",defineMapping:[[970,250],[970,90],[728,90]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-970x250-2-desktop",defineMapping:[[970,250],[970,90],[728,90]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-1x1-area",defineMapping:[[1,1]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-300x250-1-desktop",defineMapping:[[300,250],[250,250]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-300x250-2-desktop",defineMapping:[[300,250],[250,250]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-320x50-1-mobile",defineMapping:[[320,50]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-300x250-1-mobile",defineMapping:[[300,250],[250,250]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1},{id:"banner-300x250-2-mobile",defineMapping:[[300,250],[250,250]],pos:"top",native:"0",refresh:"true",adUnit:"/8804/parceiros/ne_10/receita_boa",isInfinite:!1}];function callAdds(e,t){googletag.cmd.push((function(){googletag.display(e)})),window.adsHasPushed.push(e),"banner-1x1-area"!==e&&googletag.cmd.push((()=>{googletag.pubads().refresh([t])})),window.location.href.match(/(vf1|localhost|127\.0\.0\.1)/)&&googletag.pubads().addEventListener("slotRequested",(e=>{const t=e.slot;console.log("debuggerBanner",t.getSlotElementId(),"has been requested.")}))}function createAdSlot(e){slots.forEach((t=>{(t.isInfinite&&e.includes(t.id)||!t.isInfinite&&e===t.id)&&!window.adsHasPushed.includes(e)&&googletag.cmd.push((function(){var n=googletag.defineSlot(t.adUnit,t.defineMapping,e).setTargeting("pos",[t.pos||""]).setTargeting("native",[t.native||""]).setTargeting("label",[t.label||""]).setTargeting("modelo",[t.modelo||""]).setTargeting("videoplayertype",[t.videoPlayerType||""]).setTargeting("refresh",t.refresh).addService(googletag.pubads());if(t.sizeMaping&&"function"==typeof t.sizeMaping){var a=t.sizeMaping();n.defineSizeMapping(a)}setPubadsTargetings(),googletag.enableServices(),callAdds(e,n)}))}))}function initLazyLoading(e){let t,n=!1,a=setInterval((()=>{if(t=document.querySelector("#"+e),t){function i(){n||(clearInterval(a),createAdSlot(t.id),n=!0)}i(),n?window.removeEventListener("scroll",i):window.addEventListener("scroll",i)}}),100);!t&&window.location.href.match(/(vf1|localhost|127\.0\.0\.1)/)&&console.error(`Div ${e} não foi encontrada`)}window.callAdds=callAdds,initLazyLoading("banner-970x250-1-desktop"),initLazyLoading("banner-300x250-1-desktop"),initLazyLoading("banner-300x250-2-desktop"),initLazyLoading("banner-300x250-1-mobile"),initLazyLoading("banner-300x250-2-mobile"),initLazyLoading("banner-320x50-1-mobile"),initLazyLoading("banner-anchor-area"),initLazyLoading("banner-970x250-2-desktop"),initLazyLoading("banner-480x360-area"),initLazyLoading("banner-1x1-area"),googletag.cmd.push((function(){var e=30;googletag.pubads().addEventListener("impressionViewable",(function(t){var n=t.slot;n.getTargeting("refresh").indexOf("true")>-1&&(e=window.topObjectSearch&&window.topObjectSearch.divId===n.getSlotElementId()&&!0===window.topObjectSearch.isBannerPesquisa?60:window.topObjectSeedtagWindow&&window.topObjectSeedtagWindow.divId===n.getSlotElementId()&&!0===window.topObjectSeedtagWindow.bannerSeedtag?40:30,setTimeout((function(){n.getTargetingKeys().filter((e=>e.includes("hb_"))).forEach((e=>{n.clearTargeting(e)})),n.setTargeting("keyword","refreshativo"),googletag.pubads().refresh([n])}),1e3*e))})),googletag.pubads().enableLazyLoad({fetchMarginPercent:300,renderMarginPercent:50,mobileScaling:1}),googletag.enableServices()})),googletag.cmd.push((function(){var e=googletag.defineOutOfPageSlot("/8804/parceiros/ne_10/receita_boa/interstitial",googletag.enums.OutOfPageFormat.INTERSTITIAL).setTargeting("pos",["middle"]).setTargeting("native",["0"]).setTargeting("refresh","true").addService(googletag.pubads());googletag.enableServices(),googletag.display(e.getSlotElementId())})),document.addEventListener("DOMContentLoaded",(()=>{addVideoInArticle()})),window.location.href.match(/uol_app/gm)||addAnchorAds()}